home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_macMinButtonStyle.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
2KB
|
47 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _macMinButtonStyle
{
private static var _embed_css_mac_min_dis_png_1179787033:Class = _macMinButtonStyle__embed_css_mac_min_dis_png_1179787033;
private static var _embed_css_mac_min_over_png_78233183:Class = _macMinButtonStyle__embed_css_mac_min_over_png_78233183;
private static var _embed_css_mac_min_down_png_681402267:Class = _macMinButtonStyle__embed_css_mac_min_down_png_681402267;
private static var _embed_css_mac_min_up_png_1958718145:Class = _macMinButtonStyle__embed_css_mac_min_up_png_1958718145;
public function _macMinButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macMinButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".macMinButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_mac_min_up_png_1958718145;
this.overSkin = _embed_css_mac_min_over_png_78233183;
this.downSkin = _embed_css_mac_min_down_png_681402267;
this.disabledSkin = _embed_css_mac_min_dis_png_1179787033;
this.alpha = 0.5;
};
}
}
}
}